package com.nf.health.app.models;

import com.nf.health.app.utils.DateUtil;

import java.io.Serializable;

/**
 * Created by Jason on 2016/7/8.
 */
public class SleepDelayModel implements Serializable {
    private int status;
    private int delay;
    private long currentLongTimre;
    private long nextLongTime;
    private String curretTime;
    private String nextTime;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getDelay() {
        return delay;
    }

    public void setDelay(int delay) {
        this.delay = delay;
    }

    public long getCurrentLongTimre() {
        return currentLongTimre;
    }

    public void setCurrentLongTimre(long currentLongTimre) {
        this.currentLongTimre = currentLongTimre;
    }

    public long getNextLongTime() {
        return nextLongTime;
    }

    public void setNextLongTime(long nextLongTime) {
        this.nextLongTime = nextLongTime;
    }

    public String getCurretTime() {
        return curretTime;
    }

    public void setCurretTime(long currentLongTimre) {
        this.curretTime = DateUtil.date2String(currentLongTimre * 1000, "yyyy-MM-dd HH:mm:ss");
    }

    public String getNextTime() {
        return nextTime;
    }

    public void setNextTime(long nextLongTime) {
        this.nextTime = DateUtil.date2String(nextLongTime * 1000, "yyyy-MM-dd HH:mm:ss");
    }

    @Override
    public String toString() {
        return "SleepDelayModel{" +
                "status=" + status +
                ", delay=" + delay +
                ", currentLongTimre=" + currentLongTimre +
                ", nextLongTime=" + nextLongTime +
                '}';
    }
}
